package com.linzp.bishe.model;

import com.linzp.bishe.entity.Participants;
import com.linzp.bishe.entity.TeachingReward;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName TeachingRewardModeal
 * @Description 前端交互类
 * @Author LinZePeng
 * @Date 2022/2/2 22:03
 * @Version 1.0
 */
@Data
public class TeachingRewardModel {
	private Integer id;

	private String awardName;

	private String achievementName;

	private String certificateNumber;

	private String sources;

	private String teachingLevel;

	private String grade;

	private LocalDateTime awardTime;

	private String inputPeople;

	private Boolean schoolMainCompletion;

	private Boolean hostMeeting;

	private Integer rankingCompany;

	private String supportingMaterials;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public TeachingReward getTeachingReward(){
		return new TeachingReward(id,awardName,achievementName,certificateNumber,
				sources,teachingLevel,grade,awardTime,inputPeople,schoolMainCompletion,
				hostMeeting,rankingCompany,supportingMaterials,status,userId);
	}
}
